const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_http_rewrite_module",
    map: {
        break: [String, , ["server", "location", "if"]],
        return: [String, , ["http", "server", "location"]],
        rewrite: [String, , ["server", "location", "if"]],
        rewrite_log: [Switch, false, ["http", "server", "location", "if"]],
        set: [String, , ["server", "location", "if"]],
        uninitialized_variable_warn: [Switch, true, ["http", "server", "location", "if"]]
    }
};